<?php
$this->breadcrumbs=array(
	'Reporte'=>array('/reporte'),
	'DocumentoFlujo',
);?>

<?php $this->widget('zii.widgets.grid.CGridView', array(
    'id'=>'flujos-grid',
    'dataProvider'=>$model->search(),
    'filter'=>$model,
    'columns'=>array(
        'id',
        'name',
       
        /*
        'manage_actions',
        */
        array(
     
			'class'=>'CButtonColumn',        
                        'template'=>'{view}',
                        'buttons'=>array
            
    (
        'view' => array
        (
            'label'=>'Generar Reporte',            
            'url'=>'Yii::app()->createUrl("Reporte/Fecha", array("id"=>$data->id,"name"=>$data->name,"tipo"=>"Flujo"))',
    
        ),
        
    ),           	
        ),
    ),
)); ?>
